package zcx;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;

import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;

/**
 * description:
 * author:zcx
 * lenovo
 * 时间：2022.02.09.09.35
 */
@Retention(RUNTIME)
@Target({TYPE,METHOD})
 @interface Anns{
    Ann[] value();
}
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Repeatable(Anns.class)
public @interface Ann {
    String name();
    int age() default 18;
    String sex() default "女";

}
